<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>Front End Directory (GNU Compiler Collection (GCC) Internals)</title>

<meta name="description" content="Front End Directory (GNU Compiler Collection (GCC) Internals)">
<meta name="keywords" content="Front End Directory (GNU Compiler Collection (GCC) Internals)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Option-Index.html" rel="index" title="Option Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Front-End.html" rel="up" title="Front End">
<link href="Front-End-Config.html" rel="next" title="Front End Config">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
-->
</style>


</head>

<body lang="en">
<div class="subsubsection-level-extent" id="Front-End-Directory">
<div class="nav-panel">
<p>
Next: <a href="Front-End-Config.html" accesskey="n" rel="next">The Front End <samp class="file">config-lang.in</samp> File</a>, Up: <a href="Front-End.html" accesskey="u" rel="up">Anatomy of a Language Front End</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsubsection" id="The-Front-End-language-Directory"><span>6.3.8.1 The Front End <samp class="file"><var class="var">language</var></samp> Directory<a class="copiable-link" href="#The-Front-End-language-Directory"> &para;</a></span></h4>

<p>A front end <samp class="file"><var class="var">language</var></samp> directory contains the source files
of that front end (but not of any runtime libraries, which should be
outside the <samp class="file">gcc</samp> directory).  This includes documentation, and
possibly some subsidiary programs built alongside the front end.
Certain files are special and other parts of the compiler depend on
their names:
</p>
<dl class="table">
<dt><samp class="file">config-lang.in</samp></dt>
<dd><p>This file is required in all language subdirectories.  See <a class="xref" href="Front-End-Config.html">The Front End <samp class="file">config-lang.in</samp> File</a>, for details of
its contents
</p></dd>
<dt><samp class="file">Make-lang.in</samp></dt>
<dd><p>This file is required in all language subdirectories.  See <a class="xref" href="Front-End-Makefile.html">The Front End <samp class="file">Make-lang.in</samp> File</a>, for details of its
contents.
</p></dd>
<dt><samp class="file">lang.opt</samp></dt>
<dd><p>This file registers the set of switches that the front end accepts on
the command line, and their <samp class="option">--help</samp> text.  See <a class="xref" href="Options.html">Option specification files</a>.
</p></dd>
<dt><samp class="file">lang-specs.h</samp></dt>
<dd><p>This file provides entries for <code class="code">default_compilers</code> in
<samp class="file">gcc.cc</samp> which override the default of giving an error that a
compiler for that language is not installed.
</p></dd>
<dt><samp class="file"><var class="var">language</var>-tree.def</samp></dt>
<dd><p>This file, which need not exist, defines any language-specific tree
codes.
</p></dd>
</dl>

</div>



</body>
</html>
